Optimal. Leaf size=311 \[ -\frac{3 i b c^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,-i e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{c x-1} \sqrt{c x+1}}+\frac{3 i b c^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,i e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac{3 c^2 d \sqrt{d-c^2 d x^2} \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{c x-1} \sqrt{c x+1}}+\frac{b c^3 d x \sqrt{d-c^2 d x^2}}{\sqrt{c x-1} \sqrt{c x+1}}-\frac{b c d \sqrt{d-c^2 d x^2}}{2 x \sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.800931, antiderivative size = 323, normalized size of antiderivative = 1.04, number of steps used = 12, number of rules used = 9, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5798, 5740, 5743, 5761, 4180, 2279, 2391, 8, 14} \[ -\frac{3 i b c^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,-i e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{c x-1} \sqrt{c x+1}}+\frac{3 i b c^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,i e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d (1-c x) (c x+1) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac{3 c^2 d \sqrt{d-c^2 d x^2} \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt{c x-1} \sqrt{c x+1}}+\frac{b c^3 d x \sqrt{d-c^2 d x^2}}{\sqrt{c x-1} \sqrt{c x+1}}-\frac{b c d \sqrt{d-c^2 d x^2}}{2 x \sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5740
Rule 5743
Rule 5761
Rule 4180
Rule 2279
Rule 2391
Rule 8
Rule 14
Rubi steps
\begin{align*} \int \frac{\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^3} \, dx &=-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int \frac{(-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^3} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}-\frac{\left (b c d \sqrt{d-c^2 d x^2}\right ) \int \frac{-1+c^2 x^2}{x^2} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (3 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{\sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )}{x} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}-\frac{\left (b c d \sqrt{d-c^2 d x^2}\right ) \int \left (c^2-\frac{1}{x^2}\right ) \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (3 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{x \sqrt{-1+c x} \sqrt{1+c x}} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (3 b c^3 d \sqrt{d-c^2 d x^2}\right ) \int 1 \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{b c d \sqrt{d-c^2 d x^2}}{2 x \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c^3 d x \sqrt{d-c^2 d x^2}}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac{\left (3 c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \text{sech}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{b c d \sqrt{d-c^2 d x^2}}{2 x \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c^3 d x \sqrt{d-c^2 d x^2}}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac{3 c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (3 i b c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (3 i b c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{b c d \sqrt{d-c^2 d x^2}}{2 x \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c^3 d x \sqrt{d-c^2 d x^2}}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac{3 c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (3 i b c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (3 i b c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{b c d \sqrt{d-c^2 d x^2}}{2 x \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c^3 d x \sqrt{d-c^2 d x^2}}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3}{2} c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac{3 c^2 d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{\sqrt{-1+c x} \sqrt{1+c x}}-\frac{3 i b c^2 d \sqrt{d-c^2 d x^2} \text{Li}_2\left (-i e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{3 i b c^2 d \sqrt{d-c^2 d x^2} \text{Li}_2\left (i e^{\cosh ^{-1}(c x)}\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 1.46628, size = 500, normalized size = 1.61 \[ \frac{1}{2} \left (\frac{b d^2 (c x+1) \left (i c^2 x^2 \sqrt{\frac{c x-1}{c x+1}} \text{PolyLog}\left (2,-i e^{-\cosh ^{-1}(c x)}\right )-i c^2 x^2 \sqrt{\frac{c x-1}{c x+1}} \text{PolyLog}\left (2,i e^{-\cosh ^{-1}(c x)}\right )+i c^2 x^2 \sqrt{\frac{c x-1}{c x+1}} \cosh ^{-1}(c x) \log \left (1-i e^{-\cosh ^{-1}(c x)}\right )-i c^2 x^2 \sqrt{\frac{c x-1}{c x+1}} \cosh ^{-1}(c x) \log \left (1+i e^{-\cosh ^{-1}(c x)}\right )+c x \sqrt{\frac{c x-1}{c x+1}}+c x \cosh ^{-1}(c x)-\cosh ^{-1}(c x)\right )}{x^2 \sqrt{d-c^2 d x^2}}-\frac{2 b c^2 d \sqrt{d-c^2 d x^2} \left (i \text{PolyLog}\left (2,-i e^{-\cosh ^{-1}(c x)}\right )-i \text{PolyLog}\left (2,i e^{-\cosh ^{-1}(c x)}\right )-c x+c x \sqrt{\frac{c x-1}{c x+1}} \cosh ^{-1}(c x)+\sqrt{\frac{c x-1}{c x+1}} \cosh ^{-1}(c x)+i \cosh ^{-1}(c x) \log \left (1-i e^{-\cosh ^{-1}(c x)}\right )-i \cosh ^{-1}(c x) \log \left (1+i e^{-\cosh ^{-1}(c x)}\right )\right )}{\sqrt{\frac{c x-1}{c x+1}} (c x+1)}+3 a c^2 d^{3/2} \log \left (\sqrt{d} \sqrt{d-c^2 d x^2}+d\right )-3 a c^2 d^{3/2} \log (x)-\frac{a d \left (2 c^2 x^2+1\right ) \sqrt{d-c^2 d x^2}}{x^2}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.222, size = 542, normalized size = 1.7 \begin{align*} -{\frac{a}{2\,d{x}^{2}} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{5}{2}}}}-{\frac{a{c}^{2}}{2} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{3}{2}}}}+{\frac{3\,a{c}^{2}}{2}{d}^{{\frac{3}{2}}}\ln \left ({\frac{1}{x} \left ( 2\,d+2\,\sqrt{d}\sqrt{-{c}^{2}d{x}^{2}+d} \right ) } \right ) }-{\frac{3\,a{c}^{2}d}{2}\sqrt{-{c}^{2}d{x}^{2}+d}}-{\frac{b{c}^{4}d{\rm arccosh} \left (cx\right ){x}^{2}}{ \left ( cx+1 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{b{c}^{3}dx\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{b{c}^{2}d{\rm arccosh} \left (cx\right )}{ \left ( 2\,cx+2 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{bdc}{2\,x}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{bd{\rm arccosh} \left (cx\right )}{2\,{x}^{2} \left ( cx+1 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{{\frac{3\,i}{2}}b{\rm arccosh} \left (cx\right ){c}^{2}d\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\ln \left ( 1+i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ){\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{{\frac{3\,i}{2}}b{\rm arccosh} \left (cx\right ){c}^{2}d\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\ln \left ( 1-i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ){\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}-{{\frac{3\,i}{2}}b{c}^{2}d\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\it dilog} \left ( 1+i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ){\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{{\frac{3\,i}{2}}b{c}^{2}d\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\it dilog} \left ( 1-i \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) \right ){\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (a c^{2} d x^{2} - a d +{\left (b c^{2} d x^{2} - b d\right )} \operatorname{arcosh}\left (c x\right )\right )} \sqrt{-c^{2} d x^{2} + d}}{x^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac{3}{2}} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )}{x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]